package edu.sctu.zhoumengxue.day201506.day20150615.bufferReader;

import java.io.*;

/**
 * Created by user12 on 2015/6/16.
 */
public class FileReaderAndWriter {
    public void writerAndReader(){

        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));

        System.out.println("输入吧！少年：");
        try {
            System.out.println(reader.readLine());

        } catch (IOException e) {
            e.printStackTrace();
        }
    }

    public static void main(String[] args) {
        new FileReaderAndWriter().writerAndReader();
    }


}
